Skip to content

Make module imports public to survive internal imports by default#710

Merged
ktoso merged 1 commit intoswiftlang:mainfrom
ktoso:internal-import-default-suport
Apr 17, 2026
Merged

Make module imports public to survive internal imports by default#710
ktoso merged 1 commit intoswiftlang:mainfrom
ktoso:internal-import-default-suport

Conversation

@ktoso
Copy link
Copy Markdown
Collaborator

@ktoso ktoso commented Apr 17, 2026

Maybe resolves #705

Alternatives would be to keep internal imports but that's an adventure since we need to keep those thunks NOT dead code eliminated... and we cannot use @used until swift 6.3 so this could not be used in previous swift builds...

Maybe resolves swiftlang#705

Alternatives would be to keep internal imports but that's an adventure
since we need to keep those thunks NOT dead code eliminated... and we
cannot use @used until swift 6.3 so this could not be used in previous
swift builds...
@ktoso ktoso merged commit 347c921 into swiftlang:main Apr 17, 2026
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JNIExtract produces code incompatible with .enableUpcomingFeature("InternalImportsByDefault")

1 participant